MissingMethodException ( Can`t find PInvoke DLL 'sqlceme30.dll ' ) for Windows Mobile

Posted by anyinfonet on Stack Overflow See other posts from Stack Overflow or by anyinfonet
Published on 2010-01-14T15:18:37Z Indexed on 2010/05/23 2:30 UTC
Read the original article Hit count: 555

Hello.
I have developed a win mobile (v5.0) application and I use ONLY 1 database SQLITE with these references:

  • System.Data.SQLite.dll (assembly version & product version : 1.0.65.0);
  • SQLite.Interop.065.DLL (product version : 1.0 and is a c++ lib for first dll ).

After 5 weeks of using of this application, I get today a weird exception and I dont understand what it is? Exception is:

MissingMethodException  
Can`t find PInvoke DLL 'sqlceme30.dll '

at

System.Data.SqlServerCe.SqlCeCommand.ReleaseNativeInterfaces()
at
System.Data.SqlServerCe.SqlCeCommand.Dispose(Boolean disposing)
......

What`s wrong? Anyone know about this to explain me please?

By the way : until now I delevoped 3-4 applications (1 year ago )using these references and everything worked fine.

© Stack Overflow or respective owner

Related posts about c#

Related posts about sqlite